package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the MEDCINESTORE_WINDOW database table.
 * 
 */
@Entity
@Table(name="MEDCINESTORE_WINDOW")
@NamedQuery(name="MedcinestoreWindow.findAll", query="SELECT m FROM MedcinestoreWindow m")
public class MedcinestoreWindow implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="MEDCINESTORE_WINDOW_ID")
	private long medcinestoreWindowId;

	@Column(name="MEDCINE_STORE_NAME")
	private String medcineStoreName;

	//bi-directional many-to-one association to Medcinestore
	@ManyToOne
	@JoinColumn(name="MEDCINESTORE_ID")
	private Medcinestore medcinestore;

	public MedcinestoreWindow() {
	}

	public long getMedcinestoreWindowId() {
		return this.medcinestoreWindowId;
	}

	public void setMedcinestoreWindowId(long medcinestoreWindowId) {
		this.medcinestoreWindowId = medcinestoreWindowId;
	}

	public String getMedcineStoreName() {
		return this.medcineStoreName;
	}

	public void setMedcineStoreName(String medcineStoreName) {
		this.medcineStoreName = medcineStoreName;
	}

	public Medcinestore getMedcinestore() {
		return this.medcinestore;
	}

	public void setMedcinestore(Medcinestore medcinestore) {
		this.medcinestore = medcinestore;
	}

}